#pragma once

#include "IPage.h"
#include "Region.h"

class Page : public Region<IPage>
{
public:
	BEGIN_DEFINE_CLASS(CLSID_Page)
		USE_INTERFACE_ENTRY(Region)
		DEFINE_INTERFACE_ENTRY(IPage)
	END_DEFINE_CLASS()

	Page();
	virtual ~Page();

	property_implement(real,PageLeftMargin,0x0001);
	property_implement(real,PageTopMargin,0x0002);
	property_implement(real,PageRightMargin,0x0004);
	property_implement(real,PageBottomMargin,0x0008);
	property_implement(real,PageWidth,0x0010);
	property_implement(real,PageHeight,0x0020);

	virtual String GetEntityName() const{return L"Page";}
};

AUTO_REGISTER_CLASSMAP_ENTRY(Page)